package com.jk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author 纪思齐
 * @version 1.0
 * @BelongsProject: 2203java-financial
 * @BelongsPackage: com.jk.entity
 * @description: TODO   充值表
 * @date 2022/11/3 14:46
 */
@Data
@TableName(value = "financial_details_money")
public class RechargeableEntity {

    @TableId(value = "financial_details_id",type = IdType.AUTO)
    private   Integer   financialDetailsId;    //充值提现记录id

    @TableField(value = "financial_details_date")
    private   String    financialDetailsDate;  //充值提现时间

    @TableField(value = "financial_details_type_id")
    private   Integer   financialDetailsTypeId; //充值关联类型id

    @TableField(value = "financial_details_income")
    private BigDecimal financialDetailsIncome;  //收入

    @TableField(value = "financial_details_paid")
    private   BigDecimal    financialDetailsPaid;    //支出金额

    @TableField(value = "financial_details_balance")
    private   BigDecimal    financialDetailsBalance; //账户余额

    @TableField(value = "financial_details_name")
    private   String    financialDetailsName;    //银行卡名称

    @TableField(value = "financial_user_phone")
    private   String    financialUserPhone;//用户的手机号

    //业务字段
    private   String    detailsTypeName;         //类型名称
    //业务字段
    private   String    startDate; //开始时间
    //业务字段
    private   String    endDate; //结束时间
    //业务字段
    private   Integer    typeDate;//获取查询时间字段


}
